package com.mdd.common.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.entity.Business;
import com.mdd.common.validate.business.StoreSearchValidate;
import com.mdd.common.vo.business.StoreListedVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 商户Mapper
 *
 * @author lrc
 */
@Mapper
public interface BusinessMapper extends IBaseMapper<Business> {


    /**
     * 查询商户
     *
     * @param page
     * @param req
     * @return
     */
    IPage<StoreListedVo> getStoreList(Page page, @Param("req") StoreSearchValidate req);
}
